package com.gxuwz.commonmodule.entity;

/**
 * 购买记录实体类
 */
public class BuyRecord {
    private Integer buyID;
    private String userID;
    private String bookID;
    private String buyDate;

    public BuyRecord() {
    }

    public BuyRecord(Integer buyID, String userID, String bookID, String buyDate) {
        this.buyID = buyID;
        this.userID = userID;
        this.bookID = bookID;
        this.buyDate = buyDate;
    }

    /**
     * 获取
     * @return buyID
     */
    public Integer getBuyID() {
        return buyID;
    }

    /**
     * 设置
     * @param buyID
     */
    public void setBuyID(Integer buyID) {
        this.buyID = buyID;
    }

    /**
     * 获取
     * @return userID
     */
    public String getUserID() {
        return userID;
    }

    /**
     * 设置
     * @param userID
     */
    public void setUserID(String userID) {
        this.userID = userID;
    }

    /**
     * 获取
     * @return bookID
     */
    public String getBookID() {
        return bookID;
    }

    /**
     * 设置
     * @param bookID
     */
    public void setBookID(String bookID) {
        this.bookID = bookID;
    }

    /**
     * 获取
     * @return buyDate
     */
    public String getBuyDate() {
        return buyDate;
    }

    /**
     * 设置
     * @param buyDate
     */
    public void setBuyDate(String buyDate) {
        this.buyDate = buyDate;
    }

    public String toString() {
        return "BuyRecord{buyID = " + buyID + ", userID = " + userID + ", bookID = " + bookID + ", buyDate = " + buyDate + "}";
    }
}
